package com.ft.turorial.spring.boot.web.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * StaticResourceProperties 静态资源服务器配置
 * @author ft johnny
 *
 */
@ConfigurationProperties(prefix = "spring.static")
@Component
public class StaticResourceProperties {
	private String serverHost = "localhost";
	private String serverPort = "8080";

	public String getServerHost() {
		return serverHost;
	}
	public void setServerHost(String serverHost) {
		this.serverHost = serverHost;
	}
	public String getServerPort() {
		return serverPort;
	}
	public void setServerPort(String serverPort) {
		this.serverPort = serverPort;
	}
	
}
